package net.java.nioserver;

import java.io.IOException;

/**
 * @author Leonid Shlyapnikov
 */
public interface Service {

    boolean isRuning();

    void start() throws IOException;

    void stop(long millisToWait);
}
